package com.dhsc.controller.xtqxgl;

import com.dhsc.domain.ywzx.xtqxgl.BqcsglVo;
import com.dhsc.domain.ywzx.xtqxgl.RysxVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.xtqxgl.IBqcsglService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: BqcsglController
 * @Description: 标签参数管理
 * @date: 2023/11/8 9:34
 * @author: gx
 */
@Controller
@RequestMapping("/xtqxgl")
public class BqcsglController {

    @Autowired
    private IBqcsglService bqcsglService;

    /**
    * @Title: queryBqcsgl
    * @Description: 查询标签参数管理
    * @Param: bqcsglVo
    * @return: LayuiTableVo
    * @Author: gx
    * @Date: 2023/11/8 9:41
    */
    @ResponseBody
    @RequestMapping(value="/queryBqcsgl")
    public LayuiTableVo queryBqcsgl(BqcsglVo bqcsglVo){
        return bqcsglService.queryBqcsgl(bqcsglVo);
    }

    /**
     * @Title: saveBqcsgl
     * @Description: 保存标签参数管理
     * @Param: bqcsglVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/8 17:37
     */
    @ResponseBody
    @RequestMapping(value = "/saveBqcsgl")
    public ResponseObject saveBqcsgl(BqcsglVo bqcsglVo){
        return bqcsglService.saveBqcsgl(bqcsglVo);
    }

    /**
    * @Title: queryRysx
    * @Description: 查询人员属性
    * @Param: rysxVo
    * @return: LayuiTableVo
    * @Author: gx
    * @Date: 2023/11/9 9:45
    */
    @ResponseBody
    @RequestMapping(value="/queryRysx")
    public LayuiTableVo queryRysx(RysxVo rysxVo){
        return bqcsglService.queryRysx(rysxVo);
    }
}
